package com.cskaoyan.mapper;

import com.cskaoyan.bean.MarketModuleRole2auth;
import com.cskaoyan.bean.MarketModuleRole2authExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketModuleRole2authMapper {
    long countByExample(MarketModuleRole2authExample example);

    int deleteByExample(MarketModuleRole2authExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketModuleRole2auth record);

    int insertSelective(MarketModuleRole2auth record);

    List<MarketModuleRole2auth> selectByExample(MarketModuleRole2authExample example);

    MarketModuleRole2auth selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketModuleRole2auth record, @Param("example") MarketModuleRole2authExample example);

    int updateByExample(@Param("record") MarketModuleRole2auth record, @Param("example") MarketModuleRole2authExample example);

    int updateByPrimaryKeySelective(MarketModuleRole2auth record);

    int updateByPrimaryKey(MarketModuleRole2auth record);
}